<include file="header" />
<body>
<div class="wraper">
	<div class="head clearfix">
		<a href="{BEESCRM::U('/base/UserCenter/index',array('account_id'=>$accountId))}" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">地址管理</span>
		<a href="{BEESCRM::U('/base/UserCenter/editAddress',array('account_id'=>$accountId))}" class="pull-left text-right" id="addAddress">添加</a>
	</div>

	<if condition="$data">
		<foreach name="data" item="vo">
			<a href="{BEESCRM::U('/base/UserCenter/editAddress',array('address_id' => $vo['address_id'],'accountId'=>$accountId))}" class="lists" >
				<div class="tb-mode">
					<div class="tb-cell">
						<p>{BEESCRM:$vo.real_name}  {BEESCRM:$vo.mobile}</p>
						<p class="text-grey">
							<if condition="$vo.user_type eq 0">
								{BEESCRM:$vo.community_name}{BEESCRM:$vo.building_name}{BEESCRM:$vo.room_name}
							<else/>
								{BEESCRM:$vo.address_detail}
							</if>

							<if condition="$vo['label']">
								<span class="mark">{BEESCRM:$vo.label}</span>
							</if>
						</p>
					</div>
					<p class="tb-cell text-right"><span class="iconfont icon-p-you"></span></p>
				</div>
			</a>
		</foreach>
	<else />
		<div class="norecord">
			<img src="/assets/base/userCenter/images/notrade.png"/>
			<p>暂无地址~</p>
		</div>
	</if>



</div>
<script type="text/javascript" src="/assets/base/userCenter/modules/sea.js"></script>
<script type="text/javascript" src="/assets/base/userCenter/modules/jquery-2.1.0.min.js"></script>
<script enter="/assets/base/userCenter/static/publicjs/public" id="confnode" async="async" src="/assets/base/userCenter/static/publicjs/config.js"></script>

<script>

</script>
</body>
</html>